package spring.mvc;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * spring bean配置类，相当于 applicationcontext.xml
 *
 * @author ME
 * @date   2020/1/10
 */
@Configuration
@ComponentScan(basePackages = {"spring.mvc"},
    excludeFilters = {@Filter(type = FilterType.ANNOTATION, value = EnableWebMvc.class)})
public class AppConfig {
    
}
